SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 61399: A "Syntax error or access violation" occurs when you use nested functions and a WHERE clause

DetailsHotfixAboutRate It

In SAS® Federation Server 4.2, you might see the following unexpected message when fetching data from a view:

Syntax error or access violation

This issue occurs under the following conditions:

  • The view contains a CAST function operating on the result of an SQL function (SUBSTRING function for example).
  • The SELECT statement uses a WHERE clause to filter the results of the view.

The error does not occur if CAST operates on a column, or if your SELECT statement does not contain a WHERE clause.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Federation ServerMicrosoft® Windows® for x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 104.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 20084.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 R24.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 for x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Datacenter4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Std4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Std4.24.29.4 TS1M49.4 TS1M4
Windows 7 Enterprise 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Home Premium 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Home Premium x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Professional 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Professional x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Ultimate 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Ultimate x644.24.29.4 TS1M49.4 TS1M4
64-bit Enabled AIX4.24.29.4 TS1M49.4 TS1M4
64-bit Enabled Solaris4.24.29.4 TS1M49.4 TS1M4
HP-UX IPF4.24.29.4 TS1M49.4 TS1M4
Linux for x644.24.29.4 TS1M49.4 TS1M4
Solaris for x644.24.29.4 TS1M49.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.